﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Whidsoft.WebControls;
using Gmis.Public;

namespace Gmis.Web.Manage.Organization
{
    public partial class DSenadoEdit : System.Web.UI.Page
    {
        public string action = ""; //动作
        public string sId = "";// 传入的id  空代表新增 有值代表修改
        public Model.DSenado model = new Model.DSenado();

        protected void Page_Load(object sender, EventArgs e)
        {
            //传入ID 和操作
            sId = CommonFunction.getRequestValue("Id");
            action = CommonFunction.getRequestValue("action");
            if (sId != "")
            {
                BLL.DSenado bll = new BLL.DSenado();
                model = bll.GetModel(sId);
            }
        }
    }
}